home *** CD-ROM | disk | FTP | other *** search
/ Freelog 115 / FreelogNo115-MaiJuin2013.iso / Internet / Filezilla Server / FileZilla_Server-0_9_41.exe / source / hash_algorithms / int64.h < prev    next >
Encoding:
C/C++ Source or Header  |  2011-11-06  |  650 b   |  25 lines

  1. /*
  2.  * Header for int64.c.
  3.  */
  4.  
  5. #ifndef PUTTY_INT64_H
  6. #define PUTTY_INT64_H
  7.  
  8. typedef struct {
  9.     unsigned long hi, lo;
  10. } uint64;
  11.  
  12. uint64 uint64_div10(uint64 x, int *remainder);
  13. void uint64_decimal(uint64 x, char *buffer);
  14. uint64 uint64_make(unsigned long hi, unsigned long lo);
  15. uint64 uint64_add(uint64 x, uint64 y);
  16. uint64 uint64_add32(uint64 x, unsigned long y);
  17. int uint64_compare(uint64 x, uint64 y);
  18. uint64 uint64_subtract(uint64 x, uint64 y);
  19. double uint64_to_double(uint64 x);
  20. uint64 uint64_shift_right(uint64 x, int shift);
  21. uint64 uint64_shift_left(uint64 x, int shift);
  22. uint64 uint64_from_decimal(char *str);
  23.  
  24. #endif
  25.